#!/bin/bash

set -e -u
source "./common.sh"

#sudo --validate
colordiff -up /etc/hosts "./${hosts_fname}" | less -R
sudo cp -i -- "./${hosts_fname}" /etc/hosts
#reload /etc/hosts (if you're using dnsmasq as your dns server)
#sudo systemctl reload dnsmasq.service

